<%= flash[:notice] %>
<%= form_for @user do |f| %>
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    <%= f.label :email %>
    </td>
    <td>
    <%= f.text_field :email %>
    </td>
  </tr>
  <tr>
    <td>
    <%= f.label '密码' %>
    </td>
    <td>
    <%= f.password_field :password %>
    </td>
  </tr>
  <tr>
    <td>
      <%= f.label '确认密码'%>
    </td>
    <td>
      <%= f.password_field :password_confirmation %>
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <%= f.submit '注册' %>
    </td>
  </tr>
</table>
<% end %>
